package com.lingxu.module.collection.mapper;
import com.lingxu.module.collection.entity.*;
import com.lingxu.module.homeIndex.entity.ParamsDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HomePageMapper {

    List<ModelUseInfo> getModelUseInfo(@Param("region") String region);

    List<IpCount> getIpCount(@Param("region") String region);

    List<UserCountInfo> getUserCount(@Param("dto") ParamsDTO dto);

    List<UserLoginInfo> getUserLoginInfo(@Param("dto") ParamsDTO dto);

    List<ModelCount> getModelCount(@Param("region") String region);

    Integer getAllCount(@Param("region") String region);

    Integer getMonthUploadcount(@Param("region")String region,@Param("yearmonth") String yearmonth);

    Integer getProblemCount(@Param("region")String region);

    Integer getMonthUseCount(@Param("region")String region,@Param("yearmonth") String yearmonth);

    List<UserCountInfo> getAreaModelCount(String region);
}
